package org.sauceggplant.item.man;

import com.formdev.flatlaf.FlatLightLaf;
import org.sauceggplant.item.man.ui.frame.MainFrame;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.swing.*;

public class Main {

    private static final Logger logger = LoggerFactory.getLogger(Main.class);

    public static void main(String[] args) {
        logger.info("物品管理系统启动中...");
        try {
            UIManager.setLookAndFeel(new FlatLightLaf());
        } catch (Exception e) {
            logger.error(Main.class.getName(), e);
        }
        new MainFrame();
        logger.info("物品管理系统启动成功.");
    }
}
